gtkwindow: Remove an unnecessary set of grip setting
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 26 Jun 2014 18:41:02 +0000 (14:41 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 26 Jun 2014 19:58:45 +0000 (15:58 -0400)
We already update the grip position in _gtk_window_set_allocation, which
is done through the size_allocate above. Receiving a ConfigureNotify
also won't ever change a grip's visibility, so there's no point in
refreshing it.

gtk/gtkwindow.c

index 2fef625130e94a5333ac09d628b98545fa57fbaf..8f4785992c0231185818251aff12a0ac3d553704 100644 (file)
@@ -9339,9 +9339,6 @@ gtk_window_move_resize (GtkWindow *window)
       /* gtk_window_configure_event() filled in widget->allocation */
       gtk_widget_size_allocate (widget, &allocation);
 
-      set_grip_position (window);
-      update_grip_visibility (window);
-
       /* If the configure request changed, it means that
        * we either:
        *   1) coincidentally changed hints or widget properties